package com.mynews.mvp.model;

import com.mynews.bean.ZhihuDetailBean;
import com.mynews.net.Net;
import com.mynews.utils.RxUtil;

import rx.Observable;

/**
 * Created by Administrator on 2017/6/27.
 */

public class DailyDetailModel {

    public Observable<ZhihuDetailBean> doLoadDataDetail(String id){
       return Net.getInstance().getDetailInfo(id).compose(RxUtil.<ZhihuDetailBean>rxSchedulerHelper());
    }
}
